#ifndef FILLEDRECT_H_
#define FILLEDRECT_H_

#include <oslib/oslib.h>
#include "Resizable2DInterface.h"
#include "Drawing.h"
#include "DrawingCanvas.h"
#include "Color.h"
#include "Types.h"

class FilledRect : public Resizable2DInterface
{
	public:
		virtual ~FilledRect(){}
		FilledRect();
		FilledRect(int _x, int _y, int _w, int _h, DrawingCanvas *_canvas);
		FilledRect(int _x, int _y, int _w, int _h, Color c, DrawingCanvas *_canvas);
		
		virtual void setWidth(int _w);
		virtual void setHeight(int _h);
		virtual void setSize(Size s);
		
		virtual int getWidth();
		virtual int getHeight();
		virtual Size getSize();
		
		virtual bool contains(int x, int y);
};

#endif /*FILLEDRECT_H_*/
